
@import url('https://fonts.googleapis.com/css2?family=DM+Sans&display=swap');
#controls {
  font-family: 'DM Sans', sans-serif;
  font-size: 3em;
  color: #fff;
  position: absolute;
  bottom: 40;
  right: 40;
}

.controls {
  display: none;
}

.dialog {
  font-family: 'DM Sans', sans-serif;
  background-color: #1b2646;
  position: absolute;
  overflow: hidden;

  color: white;
  letter-spacing: 1px;

  display: flex;
  flex-flow: column;

  justify-content: center;
  align-items: center;

  padding: 10px;
  border-radius: 10px;

  top: 50%;
  left: 50%;
  width: 30vh;
  height: auto;
  transform: translate(-50%, -50%);
}

.dialog.big {
  height: 200px;
}

.dialog .head {
  display: flex;
  justify-content: center;
  align-items: center;

  flex-flow: column;

  padding: 10px;
}

.dialog .head span:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.dialog input[type="text"] {
  width: 82%;
  height: 32px;

  outline: none;
  border: none;

  padding: 4px;
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 4px;

  transition: 0.3s;
}

.dialog textarea {
  width: 80%;
  height: 128px;
}

.dialog input[type="text"]:focus {
  background: #ffffffe6;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-around;

  width: 100%;

  padding-top: 10px;
}

.dialog button {
  font-family: 'DM Sans', sans-serif;
  width: 10vh;
  height: 3vh;

  margin: auto;

  color: white;

  margin: auto;
  border: none;
  outline: none;

  background: #202f5c;

  padding: 0.5em;
  border-radius: 0.45rem;
}
